
********** REPLICATION FILE ***** Manuscript "Diffusion across IOs: Connectivity and Convergence"  *******************************************
**********************************************************************************************************************************************
************************************************************************************************************** version 2018june28 ************
************ Stata 15.1 **********************************************************************************************************************



*********   Notes    *************************************************************************************************************************
*********   Commands for Figures 1,2, and 4 at the end of this file  *************************************************************************
*********   Four data files used  - please adapt the file location in the commands below *****************************************************
*********    A) DiffusionacrossIOs_dyadic_28june.dta   - dyadic data, main analysis, unit of analyisis: IO-dyad (directed) *******************
*********    B) Diffusion_IOsecretariate_monadic.dta   - monadic data, robustness check Table A.9,   unit of analyisis: IO  ******************
*********    C) Adoption_curves28june_Figure1&2.dta    - data for adoption rate, unit of analysisi: IO body **********************************
*********    D) BIC_june28_Figure4.dta                 - data for model comparison (based on table A11.1-11.5), unit of analyisis: model  ****



*****************************************************************
   
use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\DiffusionacrossIOs_dyadic_28june.dta", clear
set more off

****** Table 2 ****** Basic models ******************************
*****************************************************************

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit dv_placebo overlap_ms instpartnership sameissue sameregion sameheadquarter l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]



************************************************************************************************************************************************************************
**************************** Appendix ********************************************************************************************************************************


****** Table A.6 Determinants of Convergence in Participatory Arrangements, dyadic connectivity versus independent factors ********************************************

*** Model 1a

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter time time2 time3 if boehmke_correct==0 & missing_model!=999 , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Model 1b

logit conv_imitation   l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Model 2a

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter time time2 time3 if boehmke_correct==0 & missing_model!=999 , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Model 2b

logit conv_adaptation   l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Model 3a

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter time time2 time3 if boehmke_correct==0 & missing_model!=999 , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Model 3b

logit conv_inspiration   l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

***** Model 4a

logit dv_placebo overlap_ms instpartnership sameissue sameregion sameheadquarter time time2 time3 if missing_model!=999   , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

***** Model 4b

logit dv_placebo  l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]





***** Table A.7 Determinants of Convergence in Participatory Arrangements, Robustness checks of Models in Table 2 ******************************************************************************************

**** Models 5 - 14 ****************

****** clustered by IOi instead of dyad ioi-ioj ************

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit dv_placebo overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(id_io_i)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

***** multi-level (Gilardi) ***********

xtmelogit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , noconstant || _all: year , noconstant variance intpoints(1)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

xtmelogit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , noconstant || _all: year , noconstant variance intpoints(1)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

xtmelogit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , noconstant || _all: year , noconstant variance intpoints(1)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


***** no Boehmke correction ***********

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]



****** Table A.8 Determinants of Imitation, Adaptaiton, Inspiration in Participatory Arrangements, Connectivity Interaction  ************************** 


********* Model 15-44 *****************************

*** Imitation ***

logit conv_imitation ia_ovms_part overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_ovms_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_ovms_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_ovms_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_part_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_part_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_part_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_iss_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_iss_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_imitation ia_reg_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        



*** Adaptation ***

logit conv_adaptation ia_ovms_part overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_ovms_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_ovms_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_ovms_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_part_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_part_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_part_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_iss_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_iss_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_adaptation ia_reg_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        


*** Inspiration ***

logit conv_inspiration ia_ovms_part overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_ovms_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_ovms_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_ovms_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_part_iss overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_part_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_part_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_iss_reg overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_iss_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        

logit conv_inspiration ia_reg_head overlap_ms instpartnership sameissue sameregion sameheadquarter  l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(id_io_i)
estat ic 
mat es_ic = r(S) 
local BIC : display %4.1f es_ic[1,6]        


********************************************************************************************************************************************************
***** Table A.9 Monadic versus dyadic (aggregate source contagion): IO secretariats ********************************************************************

***** Monadic data ***** Models 45-46

use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\Diffusion_IOsecretariate_monadic.dta", clear

logit sec_change lnbudget_ioi govproblem_ioi democ_majpow_ioi tna_supply_ioi lnprotes_ioi l1democ_dens_ioi l123_secSL_monadic_* time* , cluster(id_io)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit sec_change_broad lnbudget_ioi govproblem_ioi democ_majpow_ioi tna_supply_ioi lnprotes_ioi l1democ_dens_ioi l123_secBroSL_monadic_* time*, cluster(id_io)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


***** Dyadic data, secretariats Models 47-56 *******

use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\DiffusionacrossIOs_dyadic_28june.dta", clear


*** All forms of convergence

logit conv_sec overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*ovms*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*part*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*iss*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*reg*cvsec  govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*head*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Convergence to broad access

logit conv_sec_broad overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*ovms*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec_broad overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*part*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec_broad overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*iss*cvsec  govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec_broad overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*reg*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_sec_broad overlap_ms instpartnership sameissue sameregion sameheadquarter l123*spagg*head*cvsec govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]




*****************************************************************************************************************

************ Table A.10 	Determinants of Convergence in Participatory Arrangements, triadic connectivity ***

***********  Models 57-62

****************** Triadic: dyadic connectivty * specific source (target) contagion ******************

*** Imitation


logit conv_imitation   ia_*_specsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation   	 ia_*_tspecsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Adaptation

logit conv_adaptation   ia_*_specsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation   ia_*tspecsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Inspiration

logit conv_inspiration   ia_*_specsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration   ia_*tspecsc* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]



**************** Table A11.1-A11.5  Determinants of Convergence in Participatory Arrangements, spatial effects ***************************************


******* 11.1 Specific source contagion *****************************

*** Imitation 63a-e

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Adaptation 64a-e

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Inspiration 65 a-e

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_specsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]




***** Table 11.2 Specifi target contagion *************************************************
*****************************************************************************


*** Imitaion 66a-e

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Adaptation 67a-e

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Inspiration 68a-e

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspecsc_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]





******* 11.3 Aggregate source contagion *****************************

***********************************************************************


*** Imitatiton 69a-e

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Adaptation 70a-e

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

*** Inspiration 71a-e

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_spagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]



******* 11.4 Aggregate target contagion *****************************
***********************************************************************


*** Imitation 72a-e

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Adaptation 73a-e

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Inspiration 74a-e

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_o* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_p* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_i* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_r* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_tspagg_h* l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]




***************** A  11.5 Aggregate source-target contagion (directed dyad)

******************

*** Imitation  75a-e

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*ovms*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*part*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*iss*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*reg*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_imitation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*head*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Adaptation 76a-e

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*ovms*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*part*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*iss*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*reg*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_adaptation overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*head*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]


*** Inspiration 77a-e

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*ovms*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*part*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*iss*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*reg*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]

logit conv_inspiration overlap_ms instpartnership sameissue sameregion sameheadquarter l123_dirdyad*head*anycv l1diff_tna_access l1diff_ms_change govproblem_ioi lnprotes_ioi l1democ_dens_ioi tna_supply_ioi lnbudget_ioi democ_majpow_ioi time time2 time3 if boehmke_correct==0  , cluster(dyad_id)
estat ic
mat es_ic = r(S)
local BIC : display %4.1f es_ic[1,6]









************************************** Figures 1 & 2   Adoption curves ******************************
****************************************************************************************************


use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\Adoption_curves28june_Figure1&2.dta" ,clear 

collapse (sum) openbody body_ex, by(year issue)
gen share= openbody/body_ex

twoway (line openbody year, lcolor(black) lwidth(thin) lpattern(solid)) (line share year, yaxis(2) lcolor(black) lwidth(thin) lpattern(dash)) if issue>0, ytitle(Number of IO bodies with TNA access) ytitle(, size(vsmall)) ylabel(0(10)30, labsize(vsmall) angle(horizontal) format(%9.2g) nogrid) ytitle(Share of IO bodies with TNA access (in %), axis(2)) ytitle(, size(vsmall) axis(2)) ylabel(0(0.2)1, labsize(vsmall) angle(horizontal) format(%9.2f) axis(2)) xtitle(, size(zero)) xlabel(1970(10)2010, labsize(vsmall)) legend(cols(1) size(vsmall)) xsize(4.5) ysize(4.5) by(, graphregion(fcolor(white) lcolor(white))) by(issue) subtitle(, size(small) fcolor(white) lcolor(white)) plotregion(lcolor(black))

use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\Adoption_curves28june_Figure1&2.dta" , clear
 
collapse (sum) openbody body_ex, by(year region)
gen share= openbody/body_ex

twoway (line openbody year, lcolor(black) lwidth(thin) lpattern(solid)) (line share year, yaxis(2) lcolor(black) lwidth(thin) lpattern(dash)) if region>0, ytitle(Number of IO bodies with TNA access) ytitle(, size(vsmall)) ylabel(0(10)50, labsize(vsmall) angle(horizontal) format(%9.2g) nogrid) ytitle(Share of IO bodies with TNA access (in %), axis(2)) ytitle(, size(vsmall) axis(2)) ylabel(0(0.2)1, labsize(vsmall) angle(horizontal) format(%9.2f) axis(2)) xtitle(, size(zero)) xlabel(1970(10)2010, labsize(vsmall)) legend(cols(1) size(vsmall)) xsize(4.5) ysize(4.5) by(, graphregion(fcolor(white) lcolor(white))) by(region) subtitle(, size(small) fcolor(white) lcolor(white)) plotregion(lcolor(black))





*****************  Figure 4  *************************************************************************
******************************************* Data based on BICs from above models (Table 11.1-5 *******



use "C:\Users\tsomm\Desktop\DiffusionIOs_replication\BIC_june28_Figure4.dta", clear

graph bar (first) deltaimitation_per deltaadaptation_per deltainspiration_per, over(linktype, label(angle(vertical) labsize(vsmall))) bar(1, fcolor(black) lcolor(black)) bar(2, fcolor(gs11) lcolor(black) lwidth(thin)) bar(3, fcolor(white) lcolor(black) lwidth(thin)) yline(0, lwidth(vthin) lpattern(solid) lcolor(black)) ylabel(, labsize(vsmall) angle(horizontal) format(%9.2f) nogrid) by(, legend(on)) legend(cols(3) size(vsmall)) by(, graphregion(fcolor(white) lcolor(white))) by(spatialtype) subtitle(, size(vsmall) fcolor(white) lcolor(white)) graphregion(lcolor(black) ifcolor(none) ilcolor(black)) plotregion(lcolor(black))







